<html><head><title>MenuTitle</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">MenuTitle()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>MenuTitle</b></font>(Title$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Creates a new title item on the menu. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Title$</i></td>
<td width="90%"> 
The text to display in the title item. 

On Windows you can use the special '&amp;' character to underline a specific 
letter: 
<br>
<br>
&quot;&amp;File&quot; will actually display: <u>F</u>ile 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">OpenWindow</font>(0, 200, 200, 200, 100, &quot;MenuTitle Example&quot;)
    <b><font color="#3A3966">If</font></b> <font color="#3A3966">CreateMenu</font>(0,<font color="#3A3966"> WindowID</font>(0))
<font color="#3A3966">      MenuTitle</font>(&quot;Project&quot;)      <font color="#3A3966">; normal menu title with following item</font>
<font color="#3A3966">        MenuItem</font>(1, &quot;Open&quot;)  
<font color="#3A3966">        MenuItem</font>(2, &quot;Close&quot;)
<font color="#3A3966">      MenuTitle</font>(&quot;&amp;Edit&quot;)        <font color="#3A3966">; menu title with underlined character, the underline</font>
                                <font color="#3A3966">; will only be displayed, when called with F10 key</font>
<font color="#3A3966">        MenuItem</font>(3, &quot;Undo&quot;)
<font color="#3A3966">        MenuItem</font>(4, &quot;Redo&quot;)
<font color="#3A3966">      MenuTitle</font>(&quot;About&quot;)        <font color="#3A3966">; only menu title</font>
    <b><font color="#3A3966">EndIf</font></b>
    <b><font color="#3A3966">Repeat</font></b> : <b><font color="#3A3966">Until</font></b> <font color="#3A3966">WaitWindowEvent</font>() = <font color="#924B72">#PB_Event_CloseWindow</font>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>
<p><img src="../HelpPictures/menutitle.png"></p>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="menuitem.html">MenuItem()</a>, <a href="menubar.html">MenuBar()</a>, <a href="opensubmenu.html">OpenSubMenu()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=menuitem.html>MenuItem()</a> - <a href="index.html">Menu Index</a> - <a href="opensubmenu.html">OpenSubMenu()</a> -><br><br>

</body></html>